<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>system</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../css/public.css" media="all">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<div class="layui-form layuimini-form">
    <div class="layui-form-item" style="display:none;">
        <label class="layui-form-label required">所属船舶</label>
        <div class="layui-input-block">
            <input type="hidden" id="shipId" name="shipId" lay-verify="required" lay-reqtext="请选择船舶" placeholder="请选择船舶"/>
            <input type="text" id="shipName" readonly name="shipName" lay-verify="required" lay-reqtext="请选择船舶" placeholder="请选择船舶" value="" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label required">角色名称</label>
        <div class="layui-input-block">
            <input type="text" id="roleName" name="roleName" lay-verify="required" lay-reqtext="角色名称不能为空" placeholder="请输入角色名称" value="" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item" style="display: none;">
        <label class="layui-form-label required">授权船舶</label>
        <div class="layui-input-block">
            <input type="hidden" id="shipIds" name="shipIds" lay-verify="" lay-reqtext="请选择授权船舶" placeholder="请选择授权船舶" value=""/>
            <input type="text" id="shipNames"  readonly name="shipNames" lay-verify="" lay-reqtext="请选择授权船舶" placeholder="请选择授权船舶" value="" class="layui-input">
        </div>
    </div>

	<div class="layui-form-item" style="display: none;">
	    <label class="layui-form-label required">角色类型</label>
	    <div class="layui-input-block">
	        <!-- 用户类型：1=管理员；2=公司海务；3=机务与电气主管人员；4=船长；5=轮机长；6=大副；7=电机员与相关设备主管人员； -->
	        <input type="radio" name="roleType" value="1" title="管理员" checked="">
            <input type="radio" name="roleType" value="2" title="公司(船舶)海务">
            <input type="radio" name="roleType" value="3" title="机务与电气主管人员">
            <input type="radio" name="roleType" value="4" title="船长" >
            <input type="radio" name="roleType" value="5" title="轮机长" >
            <input type="radio" name="roleType" value="6" title="大副" >
            <input type="radio" name="roleType" value="7" title="电机员与相关设备主管人员" >
	    </div>
	</div>

    <div class="win-submit-btn">
        <button class="layui-btn layui-btn-normal comfirm-submit-btn" lay-submit lay-filter="saveBtn">确认保存</button>
    </div>
</div>
<script src="../../../lib/layui-v2.6.3/layui.js" charset="utf-8"></script>
<script src="../../../js/lay-config.js?v=1.0.4" charset="utf-8"></script>
<script src="../../../lib/jquery-3.4.1/jquery-3.4.1.min.js" charset="utf-8"></script>
<script src="../../../js/crypto-js.min.js"></script>
<script src="../../../api/util.js" charset="utf-8"></script>
<script src="../../../api/request.js" charset="utf-8"></script>

<!-- import Vue before Element -->
<script src="../../../js/vue.js"></script>
<!-- import JavaScript -->
<script src="../../../lib/element-ui/lib/index.js"></script>
<script src="../../js/custom/system/role/edit.js"></script>
</body>
</html>